package org.vogelsk.blue.objects;

/**
 * 
 * This class covers bricks, or walls, with possibilities of them being destructible, hit points,
 * containing goodies, their type etc. 
 * 
 * @author dejan.dosic
 *
 */
public class Brick extends GenericCreature{

	private Goodie containingGoodie = null;
	int hitPoints = 1;
	
	public Brick( double x, double y, int hitpoints, boolean destructible) {
		super(10,10, x, y, 0, destructible);
		this.hitPoints = hitpoints;

	}
	@Override
	public void move() {
		// Maybe bricks will move some day. Not today.
		
	}
	public int getHitPoints() {
		return hitPoints;
	}
	public void setHitPoints(int hitPoints) {
		this.hitPoints = hitPoints;
	}
	public Goodie getContainingGoodie() {
		return containingGoodie;
	}
	public void setContainingGoodie(Goodie containingGoodie) {
		this.containingGoodie = containingGoodie;
	}


}
